package com.attendance.www.hr.dao.mapper;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.attendance.www.hr.beans.EmployeeBean;
import com.attendance.www.hr.beans.SchedulWeekBean;

public interface SchedulWeekExtMapper {

	List<SchedulWeekBean> getSchedulWeekList(@Param("schedulWeekBean")SchedulWeekBean schedulWeekBean,@Param("startNum")Integer startNum,@Param("pageCount")Integer pageCount);
	
	Integer getSchedulWeekTotal(@Param("schedulWeekBean")SchedulWeekBean schedulWeekBean);
	
	//当前时间在swID排班内人员ID集合
	List<Integer> getEmployeeListBySwId(@Param("swId")Integer swId);
	
	Integer getEmployeeIdCountBySwId(@Param("swId")Integer swId);
	
	List<Integer> getPunchTimeIdListBySwId(@Param("swId")Integer swId);
	
	List<SchedulWeekBean> getDatePunchTimeIdListBySwId(@Param("swId")Integer swId);
	
	List<EmployeeBean> getSchedulWeekEmployeeDetailedList(@Param("swId")Integer swId);
	
	List<SchedulWeekBean> getSchedulWeekEmployeeListBySwId(@Param("schedulWeekBean")SchedulWeekBean schedulWeekBean);
	
	List<SchedulWeekBean> getSchedulWeekEmployeeListByDate(@Param("date")Date date);
	
	List<SchedulWeekBean> getSchedulWeekEmployeeUpListByEmployeeId(@Param("employeeId")Integer employeeId);
	
	List<SchedulWeekBean> getSchedulWeekDayCountByEmployeeId(@Param("employeeIdList")List<Integer> employeeIdList,@Param("yearMonth")String yearMonth,@Param("date")Date date);
}
